 const mutations = {
  logout(state){
    localStorage.removeItem('user');
    state.user = false
  },
   login(state,user){
    state.user = user;
   }
}
 export default mutations
